package com.eam.common.domain;

import com.eam.core.annotation.Excel;
import com.eam.core.core.entity.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 盘点任务对象 eam_task
 * 
 * @author eam
 * @date 2022-03-14
 */
public class EamTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务id */
    private Long taskId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /**  创建人id */
    @Excel(name = " 创建人id")
    private Long creatorId;

    /**  任务状态 */
    @Excel(name = " 任务状态")
    private Integer status;



    /** 管理部门 */
    @Excel(name = "管理部门")
    private Long departmentId;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("creatorId", getCreatorId())
            .append("status", getStatus())
            .append("departmentId", getDepartmentId())
            .toString();
    }
}
